[@@matchAll]

open override fun [@@matchAll](string: String): JsIterable<RegExpExecArray>(source)

Matches a string with this regular expression, and returns an iterable of matches containing the results of that search.

MDN Reference

Parameters

string

A string to search within.